@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade-and-slide-in-from-bottom {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fsbr {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.animate {
  &--fade-in {
    opacity: 0;
    animation: fade-in 0.1s forwards cubic-bezier(0.19, 1, 0.22, 1);
  }
  &--fade-out {
    opacity: 1;
    animation: fade-out 0.1s forwards cubic-bezier(0.19, 1, 0.22, 1);
  }
  &--fade-and-slide-in-from-bottom {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-and-slide-in-from-bottom 0.1s forwards
      cubic-bezier(0.19, 1, 0.22, 1);
  }
  &--fsbr {
    opacity: 1;
    transform: none;
    animation: fsbr 0.1s forwards cubic-bezier(0.19, 1, 0.22, 1);
  }
}
